[3.9] Fix tests for XMLPullParser with Expat 2.6.0 (GH-115133) (GH-115535)
authorSeth Michael Larson <seth@python.org>
Wed, 21 Feb 2024 11:22:55 +0000 (05:22 -0600)
committerAndrej Shadura <andrewsh@debian.org>
Tue, 20 Jan 2026 10:45:10 +0000 (11:45 +0100)
commit0f42acf99cc54818f966ccdfe90cafb79cb98484
tree25fc72bf23980746593b6140cad611c968db3612
parent53ecac14f4dc5781e342a862a3eb43a3de0a0f09
[3.9] Fix tests for XMLPullParser with Expat 2.6.0 (GH-115133) (GH-115535)

Feeding the parser by too small chunks defers parsing to prevent
CVE-2023-52425. Future versions of Expat may be more reactive.
(cherry picked from commit 4a08e7b3431cd32a0daf22a33421cd3035343dc4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Gbp-Pq: Name 0029-3.9-Fix-tests-for-XMLPullParser-with-Expat-2.6.0-GH-.patch
Lib/test/test_xml_etree.py